package com.wxzz.elearing.comment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wxzz.elearing.comment.dto.CommunityQuestionsAnswersDto;
import com.wxzz.elearing.comment.dto.QuestionsAnswersDto;
import com.wxzz.elearing.comment.entity.CommunityQuestionsAnswersList;
import com.wxzz.elearing.comment.entity.QuestionsAnswersList;
import com.wxzz.elearing.comment.vo.CommunityQuestionsAnswersListVo;
import com.wxzz.elearing.comment.vo.QuestionsAnswersListVo;
import com.wxzz.elearning.common.vo.JgPageVo;
import com.wxzz.elearning.common.vo.ReturnVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2021-05-14
 */
public interface ICommunityQuestionsAnswersListService extends IService<CommunityQuestionsAnswersList> {


    ReturnVO<String> saveQuestionsAnswers(CommunityQuestionsAnswersList questionsAnswersList);

    ReturnVO<JgPageVo<List<CommunityQuestionsAnswersListVo>>> queryQuestionsAnswersList(CommunityQuestionsAnswersDto questionsAnswersDto);

    ReturnVO<CommunityQuestionsAnswersList> readDraft(CommunityQuestionsAnswersList questionsAnswers);

    ReturnVO<JgPageVo<List<CommunityQuestionsAnswersListVo>>> adminQueryQuestionsAnswersList(CommunityQuestionsAnswersDto questionsAnswersDto);
}
